# num = input("hhh")
# print(num)
# 捕获特定异常
# try:
#     num = int(input("请输入数字:"))
#     print(num)
# except ZeroDivisionError:
#     print("请输入正确的数字")


try:
    num = int(input("请输入数字:"))
    print(num)
except ValueError:
    print("输入的是非数字")

